﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AntMovement.Core.Logic.Base
{
    public interface IAirCylinder
    {
        #region IO线序
        public string In_OpenName { get; }
        public string In_CloseName { get; }
        public string Out_OpenName { get; }
        public string Out_CloseName { get; }
        #endregion
        public string Name { get; }
        public bool Auto_Open { get; set; }
        public bool Auto_Close { get; set; }

        public bool Manual_Open { get; set; }
        public bool Manual_Close { get; set; }

        public bool Reach_Open { get; }
        public bool Reach_Close { get; }

        public bool Alarm { get; }

        void Execute(bool auto, bool manual);

        void Resetting();
    }
}
